<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html><head><meta http-equiv="Content-Type" content="text/html;charset=UTF-8">
<title>Ananas Library: Исходный файл wdbtable.h</title>
<link href="doxygen.css" rel="stylesheet" type="text/css">
<link href="tabs.css" rel="stylesheet" type="text/css">
</head><body>
<!-- Создано системой Doxygen 1.5.6 -->
<div class="navigation" id="top">
  <div class="tabs">
    <ul>
      <li><a href="index.html"><span>Титульная&nbsp;страница</span></a></li>
      <li><a href="annotated.html"><span>Классы</span></a></li>
      <li class="current"><a href="files.html"><span>Файлы</span></a></li>
    </ul>
  </div>
<h1>wdbtable.h</h1><div class="fragment"><pre class="fragment"><a name="l00001"></a>00001 <span class="comment">/****************************************************************************</span>
<a name="l00002"></a>00002 <span class="comment">** $Id: wdbtable.h,v 1.59 2007/04/04 12:55:41 app Exp $</span>
<a name="l00003"></a>00003 <span class="comment">**</span>
<a name="l00004"></a>00004 <span class="comment">** Header file of the database table plugin of Ananas</span>
<a name="l00005"></a>00005 <span class="comment">** Designer and Engine applications</span>
<a name="l00006"></a>00006 <span class="comment">**</span>
<a name="l00007"></a>00007 <span class="comment">** Created : 20031201</span>
<a name="l00008"></a>00008 <span class="comment">**</span>
<a name="l00009"></a>00009 <span class="comment">** Copyright (C) 2003-2004 Leader InfoTech.  All rights reserved.</span>
<a name="l00010"></a>00010 <span class="comment">** Copyright (C) 2003-2004 Grigory Panov, Yoshkar-Ola.</span>
<a name="l00011"></a>00011 <span class="comment">**</span>
<a name="l00012"></a>00012 <span class="comment">** This file is part of the Ananas Plugins of the Ananas</span>
<a name="l00013"></a>00013 <span class="comment">** automation accounting system.</span>
<a name="l00014"></a>00014 <span class="comment">**</span>
<a name="l00015"></a>00015 <span class="comment">** This file may be distributed and/or modified under the terms of the</span>
<a name="l00016"></a>00016 <span class="comment">** GNU General Public License version 2 as published by the Free Software</span>
<a name="l00017"></a>00017 <span class="comment">** Foundation and appearing in the file LICENSE.GPL included in the</span>
<a name="l00018"></a>00018 <span class="comment">** packaging of this file.</span>
<a name="l00019"></a>00019 <span class="comment">**</span>
<a name="l00020"></a>00020 <span class="comment">** This file is provided AS IS with NO WARRANTY OF ANY KIND, INCLUDING THE</span>
<a name="l00021"></a>00021 <span class="comment">** WARRANTY OF DESIGN, MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE.</span>
<a name="l00022"></a>00022 <span class="comment">**</span>
<a name="l00023"></a>00023 <span class="comment">** See http://www.leaderit.ru/page=ananas or email sales@leaderit.ru</span>
<a name="l00024"></a>00024 <span class="comment">** See http://www.leaderit.ru/gpl/ for GPL licensing information.</span>
<a name="l00025"></a>00025 <span class="comment">**</span>
<a name="l00026"></a>00026 <span class="comment">** Contact org@leaderit.ru if any conditions of this licensing are</span>
<a name="l00027"></a>00027 <span class="comment">** not clear to you.</span>
<a name="l00028"></a>00028 <span class="comment">**</span>
<a name="l00029"></a>00029 <span class="comment">**********************************************************************/</span>
<a name="l00030"></a>00030 
<a name="l00031"></a>00031 <span class="preprocessor">#ifndef WDBTABLE_H</span>
<a name="l00032"></a>00032 <span class="preprocessor"></span><span class="preprocessor">#define WDBTABLE_H</span>
<a name="l00033"></a>00033 <span class="preprocessor"></span>
<a name="l00034"></a>00034 <span class="preprocessor">#include &lt;qsqlpropertymap.h&gt;</span>
<a name="l00035"></a>00035 <span class="preprocessor">#include &lt;qdatatable.h&gt;</span>
<a name="l00036"></a>00036 <span class="preprocessor">#include "acfg.h"</span>
<a name="l00037"></a>00037 <span class="preprocessor">#include "aobject.h"</span>
<a name="l00038"></a>00038 <span class="preprocessor">#include "awidget.h"</span>
<a name="l00039"></a>00039 <span class="preprocessor">#include "wfield.h"</span>
<a name="l00040"></a>00040 
<a name="l00041"></a>00041 <span class="keyword">class </span><a class="code" href="classaDatabase.html" title="Класс для работы с СУБД. Ananas Data Abstraction Layer. Наследует...">aDatabase</a>;
<a name="l00042"></a>00042 <span class="keyword">class </span><a class="code" href="classwDBTable.html" title="Визуальный класс для редактирования табличных...">wDBTable</a>;
<a name="l00043"></a>00043 <span class="keyword">class </span>QDataTable;
<a name="l00044"></a>00044 
<a name="l00045"></a>00045 <span class="keyword">class </span>aSearchWidget : <span class="keyword">public</span> QFrame
<a name="l00046"></a>00046 {
<a name="l00047"></a>00047 Q_OBJECT
<a name="l00048"></a>00048 <span class="keyword">public</span>:
<a name="l00049"></a>00049         aSearchWidget( QWidget *parent, <a class="code" href="classwDBTable.html" title="Визуальный класс для редактирования табличных...">wDBTable</a> *table );
<a name="l00050"></a>00050         ~aSearchWidget();
<a name="l00051"></a>00051         <span class="keywordtype">void</span> search( <span class="keyword">const</span> QString &amp;t =<span class="stringliteral">""</span>);
<a name="l00052"></a>00052 <span class="keyword">public</span> slots:
<a name="l00053"></a>00053         <span class="keywordtype">void</span> setText( <span class="keyword">const</span> QString &amp;t );
<a name="l00054"></a>00054 <span class="keyword">protected</span>:
<a name="l00055"></a>00055 <span class="comment">//      virtual void keyPressEvent ( QKeyEvent *e );</span>
<a name="l00056"></a>00056         <span class="keywordtype">bool</span> eventFilter( QObject *obj, QEvent *ev );
<a name="l00057"></a>00057 <span class="keyword">private</span>:
<a name="l00058"></a>00058         QString ftext;
<a name="l00059"></a>00059         QLineEdit *l;
<a name="l00060"></a>00060         <a class="code" href="classwDBTable.html" title="Визуальный класс для редактирования табличных...">wDBTable</a> *t;
<a name="l00061"></a>00061 };
<a name="l00062"></a>00062 
<a name="l00063"></a>00063 
<a name="l00064"></a>00064 
<a name="l00076"></a><a class="code" href="classwDBTable.html">00076</a> <span class="keyword">class </span>QT_WIDGET_PLUGIN_EXPORT <a class="code" href="classwDBTable.html" title="Визуальный класс для редактирования табличных...">wDBTable</a> : <span class="keyword">public</span> QDataTable
<a name="l00077"></a>00077 {
<a name="l00078"></a>00078         <span class="keyword">friend</span> <span class="keyword">class </span><a class="code" href="classaForm.html" title="Определяет программный интерфейс экранных форм...">aForm</a>;
<a name="l00079"></a>00079 
<a name="l00080"></a>00080         Q_OBJECT
<a name="l00081"></a>00081         Q_PROPERTY( Q_ULLONG    Id READ getId WRITE setId DESIGNABLE <span class="keyword">true</span> )
<a name="l00082"></a>00082         Q_PROPERTY( <span class="keywordtype">int</span>         DefaultColWidth READ getDefColWidth WRITE setDefColWidth DESIGNABLE <span class="keyword">true</span> )
<a name="l00083"></a>00083         Q_PROPERTY( <span class="keywordtype">int</span>         TableInd READ getTblInd WRITE setTblInd DESIGNABLE <span class="keyword">true</span> )
<a name="l00084"></a>00084         Q_PROPERTY( QStringList DefFields READ getDefFields WRITE setDefFields DESIGNABLE <span class="keyword">true</span> )
<a name="l00085"></a>00085         Q_PROPERTY( QStringList DefHeaders READ getDefHeaders WRITE setDefHeaders DESIGNABLE <span class="keyword">true</span> )
<a name="l00086"></a>00086         Q_PROPERTY( QStringList ColWidth READ getColWidth WRITE setColWidth DESIGNABLE <span class="keyword">true</span> )
<a name="l00087"></a>00087         Q_PROPERTY( QStringList DefIdList READ getDefIdList WRITE setDefIdList DESIGNABLE <span class="keyword">true</span> )
<a name="l00088"></a>00088 <span class="comment">//      Q_PROPERTY( bool        openEditor READ getOpenEditor WRITE setOpenEditor STORED true )</span>
<a name="l00089"></a>00089         Q_PROPERTY( QString     editFormName READ getEditFormName WRITE setEditFormName DESIGNABLE <span class="keyword">true</span> )
<a name="l00090"></a>00090 <span class="keyword">public</span>:
<a name="l00091"></a>00091         <a class="code" href="classaCfg.html" title="Класс реализует програмный интерфейс доступа...">aCfg</a>*           md;
<a name="l00092"></a>00092         <a class="code" href="classaDatabase.html" title="Класс для работы с СУБД. Ananas Data Abstraction Layer. Наследует...">aDatabase</a>*      db;
<a name="l00093"></a>00093         <a class="code" href="classaEngine.html" title="Определяет программный интерфейс Runtime системы...">aEngine</a>*        engine;
<a name="l00094"></a>00094         <span class="comment">//char vLoaded;</span>
<a name="l00095"></a>00095         QStringList     list_available_tables;
<a name="l00096"></a>00096         QStringList     fname, hname, colWidth,idList;
<a name="l00097"></a>00097         <span class="keywordtype">int</span>             defColWidth;
<a name="l00098"></a>00098         <span class="keywordtype">int</span>             tableInd;
<a name="l00099"></a>00099         aCfgItem        tables;
<a name="l00100"></a>00100         QSqlCursor*     cur;
<a name="l00101"></a>00101         <span class="keywordtype">bool</span>            searchMode;
<a name="l00102"></a>00102         QString         searchString;
<a name="l00103"></a>00103         aSearchWidget   *searchWidget;
<a name="l00104"></a>00104 
<a name="l00105"></a>00105         <a class="code" href="classwDBTable.html" title="Визуальный класс для редактирования табличных...">wDBTable</a>( QString objtype, QWidget *parent = 0, <span class="keyword">const</span> <span class="keywordtype">char</span> *name = 0);
<a name="l00106"></a>00106         <span class="keyword">virtual</span> ~<a class="code" href="classwDBTable.html" title="Визуальный класс для редактирования табличных...">wDBTable</a>();
<a name="l00107"></a>00107         <span class="keywordtype">void</span>            checkFields();
<a name="l00108"></a>00108         <span class="keywordtype">void</span>            setFields(<span class="keywordtype">int</span> numTable); <span class="comment">//set propertis default value for table with num=numTable</span>
<a name="l00109"></a>00109         QStringList     getFields(<span class="keywordtype">int</span> numTable, <span class="keywordtype">bool</span> GetId=<span class="keyword">false</span>); <span class="comment">// return list field names or id's, defined in metadata</span>
<a name="l00110"></a>00110         QString         getFieldName(<span class="keywordtype">long</span> idField); <span class="comment">// return attribute `name' value</span>
<a name="l00111"></a>00111         QString         getFieldType(<span class="keywordtype">long</span> idField); <span class="comment">// return attribute `type' value</span>
<a name="l00112"></a>00112         <span class="keywordtype">int</span>             getTableInd(<span class="keywordtype">int</span> <span class="keywordtype">id</span>);
<a name="l00113"></a>00113         <span class="keywordtype">int</span>             getTableId(<span class="keywordtype">int</span> ind);
<a name="l00114"></a>00114         
<a name="l00115"></a>00115         <span class="comment">//      void    init( aDatabase *adb );</span>
<a name="l00116"></a>00116         <span class="keywordtype">void</span>            <a class="code" href="classaForm.html#32071acf83380e4f22e4b204c92727e0">init</a>();
<a name="l00117"></a>00117         <span class="keywordtype">void</span>            <a class="code" href="classaForm.html#32071acf83380e4f22e4b204c92727e0">init</a>(<a class="code" href="classaDatabase.html" title="Класс для работы с СУБД. Ananas Data Abstraction Layer. Наследует...">aDatabase</a> *adb, <a class="code" href="classaEngine.html" title="Определяет программный интерфейс Runtime системы...">aEngine</a> *e = 0 ); <span class="comment">// call in ananas engine</span>
<a name="l00118"></a>00118         <span class="keywordtype">void</span>            OpenEditor();
<a name="l00119"></a>00119         <span class="comment">//QWidget*      createEditor();</span>
<a name="l00120"></a>00120 
<a name="l00121"></a>00121         <span class="comment">//int   getDefaultWidth() const {return defColWidth;};</span>
<a name="l00122"></a>00122 
<a name="l00123"></a>00123         QStringList     getDefFields()  <span class="keyword">const</span>;
<a name="l00124"></a>00124         QStringList     getDefHeaders() <span class="keyword">const</span>;
<a name="l00125"></a>00125         QStringList     getColWidth()   <span class="keyword">const</span>;
<a name="l00126"></a>00126         QStringList     getDefIdList()  <span class="keyword">const</span>;
<a name="l00127"></a>00127         Q_ULLONG        getId()         <span class="keyword">const</span>;
<a name="l00128"></a>00128         <span class="keywordtype">int</span>             getTblInd()     <span class="keyword">const</span>;
<a name="l00129"></a>00129         <span class="keywordtype">bool</span>            getOpenEditor() <span class="keyword">const</span>;
<a name="l00130"></a>00130         <span class="keywordtype">int</span>             getDefColWidth() <span class="keyword">const</span>;
<a name="l00131"></a>00131 
<a name="l00132"></a>00132         <span class="keywordtype">void</span>    setDefFields(QStringList lst);
<a name="l00133"></a>00133         <span class="keywordtype">void</span>    setDefHeaders(QStringList lst);
<a name="l00134"></a>00134         <span class="keywordtype">void</span>    setColWidth(QStringList lst);
<a name="l00135"></a>00135         <span class="keywordtype">void</span>    setDefIdList(QStringList lst);
<a name="l00136"></a>00136         <span class="keywordtype">void</span>    setId( Q_ULLONG fn );
<a name="l00137"></a>00137         <span class="keywordtype">void</span>    setTblInd( <span class="keywordtype">int</span> ind );
<a name="l00138"></a>00138         <span class="keywordtype">void</span>    setOpenEditor( <span class="keywordtype">bool</span> fn );
<a name="l00139"></a>00139         <span class="keywordtype">void</span>    setDefColWidth( <span class="keywordtype">int</span> fn );
<a name="l00140"></a>00140 
<a name="l00141"></a>00141         QString getEditFormName()<span class="keyword"> const </span>{ <span class="keywordflow">return</span> vEditFormName;};
<a name="l00142"></a>00142         <span class="keywordtype">void</span>    setEditFormName( QString name)  { vEditFormName = name; };
<a name="l00143"></a>00143         
<a name="l00144"></a>00144         QString containerType()<span class="keyword"> const </span>{ <span class="keywordflow">return</span> container_type;};
<a name="l00145"></a>00145         <span class="keywordtype">void</span>    setContainerType( QString name) { container_type = name; };
<a name="l00146"></a>00146         QPixmap systemIcon();
<a name="l00147"></a>00147         <span class="keyword">virtual</span> <span class="keywordtype">int</span> Select( ANANAS_UID db_uid );
<a name="l00148"></a>00148 <span class="keyword">public</span> slots:
<a name="l00149"></a>00149         QValueList&lt;int&gt; getBindList();
<a name="l00150"></a>00150         <span class="keywordtype">void</span>    setWFieldEditor();
<a name="l00151"></a>00151         <span class="keywordtype">void</span>    setAvailableTables();
<a name="l00152"></a>00152         <span class="keywordtype">void</span>    lineUpdate(QSql::Op mode);
<a name="l00153"></a>00153         <span class="keywordtype">void</span>    newFilter(<span class="keyword">const</span> QString &amp; );
<a name="l00154"></a>00154         <span class="keywordtype">void</span>    newDataId(<span class="keyword">const</span> Q_ULLONG );
<a name="l00155"></a>00155         QVariant <a class="code" href="classaForm.html#3f783b0021fda3cc61710b6296c93eed" title="ScriptAPI. Возвращает значение поля экранной формы...">Value</a>( <span class="keyword">const</span> QString &amp;colname );
<a name="l00156"></a>00156 
<a name="l00157"></a>00157         <span class="keywordtype">bool</span> searchColumn( <span class="keyword">const</span> QString &amp;text, <span class="keywordtype">bool</span> FromCurrent = FALSE, <span class="keywordtype">bool</span> Forward = TRUE );
<a name="l00158"></a>00158         <span class="keywordtype">void</span> searchOpen( <span class="keyword">const</span> QString &amp;text = <span class="stringliteral">""</span> );
<a name="l00159"></a>00159         <span class="keywordtype">void</span> searchClose();
<a name="l00160"></a>00160         
<a name="l00161"></a>00161 <span class="keyword">protected</span> slots:
<a name="l00162"></a>00162         <span class="keywordtype">void</span> doubleClickEventHandler(<span class="keywordtype">int</span> , <span class="keywordtype">int</span> , <span class="keywordtype">int</span>, <span class="keyword">const</span> QPoint&amp; ); <span class="comment">//parametrs not used</span>
<a name="l00163"></a>00163         <span class="keyword">virtual</span> <span class="keywordtype">void</span> updateTableCellHandler(<span class="keywordtype">int</span>, <span class="keywordtype">int</span>);
<a name="l00164"></a>00164 signals:
<a name="l00165"></a>00165 
<a name="l00173"></a>00173         <span class="keywordtype">void</span> saveLine(QSqlRecord *rec);
<a name="l00174"></a>00174 
<a name="l00182"></a>00182         <span class="keywordtype">void</span> deleteLine(QSqlRecord *rec);
<a name="l00190"></a>00190         <span class="keywordtype">void</span> selected( Q_ULLONG uid );
<a name="l00198"></a>00198         <span class="keywordtype">void</span> selectRecord ( Q_ULLONG );
<a name="l00206"></a>00206         <span class="keywordtype">void</span> updateCurr(<span class="keywordtype">int</span> row, <span class="keywordtype">int</span> col);
<a name="l00207"></a>00207 <span class="comment">//&lt;&lt;&lt;&lt;&lt;&lt;&lt; wdbtable.h</span>
<a name="l00208"></a>00208 
<a name="l00209"></a>00209         <span class="comment">//signals from context menu for connecting to wJournal</span>
<a name="l00210"></a>00210         <span class="comment">//if container has another type, then do QDataTable context menu</span>
<a name="l00211"></a>00211         <span class="comment">//and this signal no emitted</span>
<a name="l00212"></a>00212 <span class="comment">//=======</span>
<a name="l00213"></a>00213         
<a name="l00227"></a>00227 <span class="comment">//&gt;&gt;&gt;&gt;&gt;&gt;&gt; 1.45.2.4</span>
<a name="l00228"></a>00228         <span class="keywordtype">void</span> insertRequest();
<a name="l00232"></a>00232         <span class="keywordtype">void</span> updateRequest();
<a name="l00236"></a>00236         <span class="keywordtype">void</span> deleteRequest();
<a name="l00240"></a>00240         <span class="keywordtype">void</span> viewRequest();
<a name="l00241"></a>00241         <span class="comment">// end</span>
<a name="l00242"></a>00242 
<a name="l00243"></a>00243 <span class="keyword">private</span> slots:
<a name="l00244"></a>00244         <span class="comment">//void select( Q_ULLONG group );</span>
<a name="l00245"></a>00245         <span class="keywordtype">void</span> lineChange(<span class="keywordtype">int</span>, <span class="keywordtype">int</span>);
<a name="l00246"></a>00246         <span class="keywordtype">void</span> lineInsert(QSqlRecord*);
<a name="l00247"></a>00247         <span class="keywordtype">void</span> updateItem( ANANAS_UID db_uid );
<a name="l00248"></a>00248 
<a name="l00249"></a>00249 <span class="keyword">protected</span>:
<a name="l00250"></a>00250         <span class="keyword">virtual</span> <span class="keywordtype">void</span> paintField ( QPainter * p, <span class="keyword">const</span> QSqlField * field, <span class="keyword">const</span> QRect &amp; cr, <span class="keywordtype">bool</span> selected );
<a name="l00251"></a>00251         QWidget * beginUpdate ( <span class="keywordtype">int</span> row, <span class="keywordtype">int</span> col, <span class="keywordtype">bool</span> replace );
<a name="l00252"></a>00252         <span class="keyword">virtual</span> <span class="keywordtype">bool</span> updateCurrent();
<a name="l00253"></a>00253         <span class="keywordtype">void</span>  contentsContextMenuEvent ( QContextMenuEvent * e );
<a name="l00254"></a>00254 <span class="comment">//      void propertyUpdate(const QString &amp;propName);</span>
<a name="l00255"></a>00255         <span class="keyword">virtual</span> <span class="keywordtype">bool</span> deleteCurrent();
<a name="l00256"></a>00256         <span class="comment">//virtual QSql::Confirm confirmEdit ( QSql::Op m );</span>
<a name="l00257"></a>00257         <span class="keyword">virtual</span> <span class="keywordtype">void</span> keyPressEvent ( QKeyEvent *e );
<a name="l00258"></a>00258         <span class="keywordtype">void</span> EditElement();
<a name="l00259"></a>00259         <span class="keyword">virtual</span> <span class="keywordtype">void</span> activateNextCell();
<a name="l00260"></a>00260         <span class="keyword">virtual</span> <span class="keywordtype">bool</span> beginInsert ();
<a name="l00261"></a>00261         <span class="keyword">virtual</span> QSql::Confirm confirmEdit( QSql::Op m );
<a name="l00262"></a>00262 
<a name="l00263"></a>00263 <span class="keyword">private</span>:
<a name="l00264"></a>00264 
<a name="l00265"></a>00265         QPixmap t_doc;
<a name="l00266"></a>00266         QPixmap t_doc_d;
<a name="l00267"></a>00267         QPixmap t_doc_t;
<a name="l00268"></a>00268         QPixmap t_doc_m;
<a name="l00269"></a>00269         QPixmap t_doc_tm;
<a name="l00270"></a>00270         QPixmap t_cat_e;
<a name="l00271"></a>00271         QPixmap t_cat_ed;
<a name="l00272"></a>00272         QPixmap t_cat_g;
<a name="l00273"></a>00273         QPixmap t_cat_gd;
<a name="l00274"></a>00274         
<a name="l00275"></a>00275         <span class="keywordtype">int</span> lastEditedRow;
<a name="l00276"></a>00276         <span class="keywordtype">int</span> lastEditedCol;
<a name="l00277"></a>00277         
<a name="l00278"></a>00278         QString container_type;
<a name="l00279"></a>00279         Q_ULLONG        doc_id;
<a name="l00280"></a>00280         Q_ULLONG        cat_group_id;
<a name="l00281"></a>00281         <span class="keywordtype">long</span> journalFieldId(<span class="keywordtype">long</span>);
<a name="l00282"></a>00282         QString journalFieldName(<span class="keywordtype">long</span>);
<a name="l00283"></a>00283         <span class="keywordtype">bool</span> inEditMode;
<a name="l00284"></a>00284         <span class="comment">//aDBTablePrivate impl;</span>
<a name="l00285"></a>00285 <span class="comment">//      void updateProp(void);</span>
<a name="l00286"></a>00286         QValueList&lt;int&gt; listBindings;
<a name="l00287"></a>00287         aCfgItem obj;
<a name="l00288"></a>00288         QString vName, vEditFormName;
<a name="l00289"></a>00289         QString vDefineCols;
<a name="l00290"></a>00290         Q_ULLONG oid;
<a name="l00291"></a>00291 };
<a name="l00292"></a>00292 
<a name="l00293"></a>00293 
<a name="l00301"></a><a class="code" href="classaEditorFactory.html">00301</a> <span class="keyword">class </span><a class="code" href="classaEditorFactory.html" title="Класс для поддержки собственного редактора...">aEditorFactory</a>: <span class="keyword">public</span> QSqlEditorFactory
<a name="l00302"></a>00302 {
<a name="l00303"></a>00303 <span class="keyword">public</span>:
<a name="l00308"></a><a class="code" href="classaEditorFactory.html#8362ec5a117fe4068c7f10f0f11081f1">00308</a>         <a class="code" href="classaEditorFactory.html#8362ec5a117fe4068c7f10f0f11081f1">aEditorFactory</a>(QObject * parent = 0, <span class="keyword">const</span> <span class="keywordtype">char</span> * name = 0):QSqlEditorFactory(parent,name) {};
<a name="l00309"></a>00309         QWidget * <a class="code" href="classaEditorFactory.html#4b030515fdcc90b075e8ffea23b3ed5a">createEditor</a> (QWidget * parent, <span class="keyword">const</span> QSqlField * field);
<a name="l00310"></a>00310         <span class="keywordtype">void</span> setMd(<a class="code" href="classaCfg.html" title="Класс реализует програмный интерфейс доступа...">aCfg</a> *md);
<a name="l00311"></a>00311 <span class="keyword">private</span>:
<a name="l00312"></a>00312         <a class="code" href="classaCfg.html" title="Класс реализует програмный интерфейс доступа...">aCfg</a> * md;
<a name="l00313"></a>00313 };
<a name="l00314"></a>00314 <span class="preprocessor">#endif</span>
</pre></div></div>
<hr size="1"><address style="text-align: right;"><small>Документация по Ananas Library. Последние изменения: Sun Feb 1 21:47:14 2009. Создано системой&nbsp;
<a href="http://www.doxygen.org/index.html">
<img src="doxygen.png" alt="doxygen" align="middle" border="0"></a> 1.5.6 </small></address>
</body>
</html>
